package com.yhh.xiaohongshuauth.domain.dataobject;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * 用户角色表(UserRoleRel)实体类
 *
 * @author makejava
 * @since 2025-04-30 14:27:26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserRoleRel implements Serializable {
    private static final long serialVersionUID = -24193102057627568L;
/**
     * 主键ID
     */
    private String id;
/**
     * 用户ID
     */
    private Long userId;
/**
     * 角色ID
     */
    private Long roleId;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 更新时间
     */
    private Date updateTime;
/**
     * 逻辑删除(0：未删除 1：已删除)
     */
    private Boolean isDeleted;

}

